package config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * spring configuration
 * @author chen
 *The @ComponentScan is loading all configuration within the same package (and child packages) 
 *as RootConfiguration. Since SecurityConfig is in this package, 
 *it will be loaded with our existing setup and there is nothing more to do.
 */
@Configuration
@ComponentScan(basePackages = {"config","service"})
public class RootConfig {

}
